<template>
  <view :data-theme="cueTheme">
    <Management v-if="selectIndex === 1" />
    <Task v-if="selectIndex === 0" />
    <tabbar :select-index.sync="selectIndex" />
  </view>
</template>

<script>
import { getFiles } from "@/utils/getFiles";
const files = require.context("./mixins", false, /\.js$/);
const mixins = getFiles(files);

import Management from "./components/Management"
import Task from "./components/task"

export default {
  name: "Home",
  components: { Management, Task },
  mixins: [...mixins],
};
</script>
<style scoped lang="scss" src="./index.scss"></style>
